package com.wm.prototype;

/**
 * @ClassName: Disk
 * @Description: 磁盘
 * @Author: WM
 * @Date: 2023/2/9 8:38
 */
public class Disk implements Cloneable {

    private String ssd;
    private String hhd;

    public Disk(String ssd, String hhd) {
        this.ssd = ssd;
        this.hhd = hhd;
    }

    @Override
    protected Disk clone() throws CloneNotSupportedException {
        return (Disk) super.clone();
    }

    @Override
    public String toString() {
        return "Disk{" +
                "ssd='" + ssd + '\'' +
                ", hhd='" + hhd + '\'' +
                '}';
    }

    public String getSsd() {
        return ssd;
    }

    public void setSsd(String ssd) {
        this.ssd = ssd;
    }

    public String getHhd() {
        return hhd;
    }

    public void setHhd(String hhd) {
        this.hhd = hhd;
    }
}
